package io.github.kevinzhwl.edgetts.bean;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class VoiceItem implements Serializable {

  private static final long serialVersionUID = 1L;
  @SerializedName("Name")
  private String name;
  @SerializedName("ShortName")
  private String shortName;
  @SerializedName("Gender")
  private String gender;
  @SerializedName("Locale")
  private String locale;
  @SerializedName("SuggestedCodec")
  private String suggestedCodec;
  @SerializedName("FriendlyName")
  private String friendlyName;
  @SerializedName("Status")
  private String status;
  @SerializedName("VoiceTag")
  private VoiceTag voiceTag;

  @Data
  public static class VoiceTag {
    @SerializedName("ContentCategories")
    private List<String> contentCategories;
    @SerializedName("VoicePersonalities")
    private List<String> voicePersonalities;

  }
}
